﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Wwtfly.BBS.Framework.Attributes
{
    /// <summary>
    /// 控件类型
    /// </summary>
    [AttributeUsage(AttributeTargets.All, AllowMultiple = false, Inherited = false)]
    public class ControlTypeAttribute : Attribute
    {
        /// <summary>
        /// 控件类型属性
        /// </summary>
        /// <param name="type">控件类型：1=文本；2=下拉框；3=CheckBoxList；</param>
        public ControlTypeAttribute(string type)
        {
            _type = type;
        }

        private string _type;
        /// <summary>
        /// 控件类型：1=文本；2=下拉框；3=CheckBoxList；
        /// </summary>
        public string ControlType
        {
            get { return _type; }
        }
    }

}
